import request from "@/axios/request";

export function getCaricatureApi(params) {
  return request({
    method: "GET",
    url: "https://api.ldbx.com/integrals/isEnabled",
    params,
  });
}

export function allocation(data) {
  return request({
    method: "POST",
    url: "integrals/allocation",
    data,
  });
}

export function isEnabled(data) {
  return request({
    method: "POST",
    url: "integrals/isEnabled",
    data,
  });
}

export function tabulation(data) {
  return request({
    method: "POST",
    url: "integrals/tabulation",
    data,
  });
}
// 签到
export function todaySign(data) {
  return request({
    method: "POST",
    url: "integrals/todaySign",
    data,
  });
}
